package org.abyss.upload.resolver;

import java.io.IOException;

import org.springframework.web.multipart.MultipartFile;

import edu.tgc.entity.file.FilePath;

public interface UploadResolver {

    boolean delete(String fileName, FilePath path) throws IOException;

    byte[] read(String fileName, FilePath path) throws IOException;

    void write(MultipartFile source, String fileName, FilePath path) throws IllegalStateException, IOException;
}
